package ch.unisi.inf.pfii.teamred.pacman.view;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.GridLayout;

import javax.swing.JComponent;

import ch.unisi.inf.pfii.teamred.pacman.model.Highscore;

/**
 * This class models the view of the Highscore.
 * Currently it is not implemented in the Gui (only in the Model).
 * 
 * @author mark.pruneri@lu.unisi.ch
 * 
 * 
 */

public class HighscoreView extends JComponent {

	private final Highscore highscore;

	public HighscoreView(final Highscore highscore) {
		this.highscore = highscore;
		setLayout(new GridLayout(1, 1));
	}

	public final Dimension getPreferredSize() {
		return new Dimension(450, 550);
	}

	public final void paintComponent(Graphics g) {
		super.paintComponent(g);

		g.setColor(Color.WHITE);
		g.setFont(new Font("Helvetica", Font.BOLD, 25));
		g.drawString("Highscore", 100, 20);

		
	}
}